package com.tjtt.tdm.system.service;

import java.util.List;

import com.tjtt.tdm.exception.DaoException;
import com.tjtt.tdm.system.bean.UserRole;


public interface UserRoleService {

	/**
	 * 删除用户角色关联
	 * @param userId
	 * @throws DaoException
	 */
	public void delUserRoleByRoleId(Long roleId) throws DaoException;
	/**
	 * 给角色分配人员
	 * @param userRole
	 * @return
	 */
	//public UserRole savaUserToRole(UserRole userRole);
	
	public void updateURAll(String roleId,List<UserRole> userRole) throws DaoException ;
	
	public void delUserRole(Long userId) throws DaoException;

}
